package com.moss.cloud.base.api.model.from;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
public class UserPositionFrom implements Serializable {
    /**用户ID*/
    @NotNull(message = "用户ID不能为空")
    private Long userId;
    /**职位集合*/
    @NotNull(message = "职位不能为空")
    private List<Long> positionIds;
}
